class LiuShuju {
  //Id of the event
  String? id = '';

  //Event name
  String? shijian = '';

  //Event data
  String? shuju = '';

  LiuShuju({required this.shuju, required this.id, required this.shijian});

  LiuShuju.fromData(String data) {
    id = data.split("\n")[0].split('id:')[1];
    shijian = data.split("\n")[1].split('event:')[1];
    this.shuju = data.split("\n")[2].split('data:')[1];
  }
}
